package com.qba.trafficbb;

import java.util.Arrays;
import java.util.List;

import com.qba.trafficbb.modelo.Juego;
import com.qba.trafficbb.modelo.Senal;
import com.qba.trafficbb.persistencia.LectorSenales;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;


public class SplashActivity extends BaseActivity {
	
	Handler myHandler;
	
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_splash);
        
        myHandler = new DoSomething();
		Message m = new Message();
		
		myHandler.sendEmptyMessageDelayed(1, 2000);

    }
    
    class DoSomething extends Handler {
        @Override
        public void handleMessage(Message msg) {
        	Intent intent=new Intent(SplashActivity.this,MenuActivity.class);

    		startActivity(intent);
    		
        }
    }


}
